//
//  UIControl+TouchLimit.h
//  NEDKit
//
//  Created by lin on 2020/8/12.
//  Copyright © 2020 000. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

/// 重复点击间隔设置
@interface UIControl (TouchLimit)

/// 用这个给重复点击加间隔
@property (nonatomic, assign) NSTimeInterval limitTimeInterval;
/// 不做重复点击限制
@property (nonatomic, assign) BOOL isNoLimit;

/** 重复点击了回调*/
@property (assign, nonatomic) void(^_Nullable limitRepeatBlock)(void);

@end

NS_ASSUME_NONNULL_END
